package cn.mall.product.service;


import cn.mall.common.utils.PageUtils;
import cn.mall.product.entity.SkuInfoEntity;
import cn.mall.product.vo.SkuItemVo;
import cn.mall.common.vo.SkuItemsVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku信息
 *
 * @author ssd
 * @email 18336719215@163.com
 * @date 2023-10-19 11:04:17
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 商品详情查询
     * @param skuId
     * @return
     */

    SkuItemVo item(Long skuId) throws ExecutionException, InterruptedException;
    List<SkuItemsVo> skuItems();
}

